package com.sssd;

import cn.hutool.core.util.RandomUtil;
import com.sssd.utils.RobotUtil;

import java.util.List;

/**
 * 标准投篮包类
 *
 * @author sssd
 * @update 2023-02-05 21:48
 */
public class NormalBasketPackage extends BasketPackage {


    @Override
    public void shootBall(List<Integer> keyList, int time) {
        //网络延迟15ms - 30ms 之间 1-15
        RobotUtil.pressKeyToPopUp(keyList, time);
        RobotUtil.robot.delay(RandomUtil.randomInt(1, 3));
    }
}
